package com.ubxtech.cloud.client;

import com.ubxtech.core.context.Result;
import com.ubxtech.core.dto.RequestMappingServiceDTO;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 需要在下游服务中有该接口
 * @author Victor.Xiao
 * @since 2023-11-23 20:24
 **/
public interface PushPathClient {

    @Operation(summary = "上报所有url数据")
    @PostMapping
    Result<Void> reportPath(@RequestBody RequestMappingServiceDTO event);
}
